package com.imau.common.exception;

import com.imau.common.entiry.ResultCode;
import lombok.Data;

/**
 * 自定义异常处理
 */
@Data
public class CommonException extends Exception{

    private ResultCode resultCode;

    public CommonException(ResultCode resultCode)
    {

        this.resultCode = resultCode;

    }
}
